<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>第61个CSS页面</title>
    <style type="text/css">
        img#float {
            float: right;
        }
    </style>
</head>
<body>

<h3>CSS浮动，设置float属性</h3>
<p>设置了float属性的元素不在文档的普通流中。</p>

<p>
    在下面的段落中，添加了一个样式为<b>float:right</b>的图像。这个图像会浮动在
    段落的右侧
</p>

<p>
    <img id="float" src="http://www.w3school.com.cn/i/eg_cute.gif" alt="no picture" />
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
</p>

<h4>下面的段落，图片没有浮动</h4>

<p>
    <img src="http://www.w3school.com.cn/i/eg_cute.gif" alt="no picture" />
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
    This is some text. This is some text. This is some text.
</p>

</body>
</html>